POV-Ray : Newsgroups : povray.beta-test : buil-in-float-functions in function{} : buil-in-float-functions in function{} Server Time
30 Jul 2024 22:17:37 EDT (-0400)
  buil-in-float-functions in function{}  
From: KalleK
Date: 28 Sep 2001 02:26:02
Message: <3bb417fa$1@news.povray.org>
AMD 1,4GHz, 512 MB DDR RAM, W98, POVray 3.5 beta4

Try the following line:
#local T = function (b) {div(b,2)}
it driggers that error:

"
#local T = function (b) {div(b,2)} <----ERROR
Parse Error: Expected 'function identifier', } found instead
"

When you change div(2,b) to mod(2,b) there's no error.

cukk


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.